home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
ZIPPED
/
WINDOWS
/
MISCUTIL
/
MSGBAR10.ZIP
/
SOURCE.EXE
/
SAMPLE.MAK
< prev
next >
Wrap
Makefile
|
1992-12-29
|
1KB
|
46 lines
MODEL=M
CFLAGS= -c -A$(MODEL) -G2csw -Od -W3 -Zpie
LFLAGS= /NOD /CO
OBJ= .
LNK= .
SRC= .
EXE= .
OBJECTS= $(OBJ)\sample.obj $(OBJ)\mb.obj
all: $(OBJECTS) $(EXE)\sample.exe
$(EXE)\sample.exe : $(LNK)\sample.obj $(LNK)\sample.def \
$(LNK)\sample.res
@echo $(OBJ)\sample + > $(LNK)\sample.lnk
@echo $(OBJ)\mb >> $(LNK)\sample.lnk
@echo $(EXE)\sample.exe /align:16, >> $(LNK)\sample.lnk
@echo $(LNK)\sample.map/map/li, >> $(LNK)\sample.lnk
@echo $(LFLAGS) $(MODEL)libcew libw, >> $(LNK)\sample.lnk
@echo $(LNK)\sample.def >> $(LNK)\sample.lnk
link <$(LNK)\sample.lnk
rc sample.res $(EXE)\sample.exe
$(SRC)\sample.res : $(SRC)\sample.rc
rc -r sample.rc
$(OBJ)\sample.obj : $(SRC)\sample.c
cl $(CFLAGS) sample.c
$(OBJ)\mb.obj : $(SRC)\mb.c
cl $(CFLAGS) mb.c
rel:
%set REL=TRUE
%set CFLAGS=-c -A$(MODEL) -Os -W3 -Zpe -G2csw
%set LFLAGS= /NOD
clean:
del *.obj
del sample.exe
del *.res
del *.lnk
del *.map